package com.blog.model;

public class Comment {
	//id
    private Integer id;

    //发言人id 关联user表
    private Integer user_id;

    //文章id 关联article表
    private Integer article_id;

    //回复人id 关联user表
    private Integer reply_id;

    //评论内容
    private String detail;

    //评论时间
    private String commontime;

    //上层评论id 关联自身
    private Integer pid;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Integer getArticle_id() {
		return article_id;
	}

	public void setArticle_id(Integer article_id) {
		this.article_id = article_id;
	}

	public Integer getReply_id() {
		return reply_id;
	}

	public void setReply_id(Integer reply_id) {
		this.reply_id = reply_id;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getCommontime() {
		return commontime;
	}

	public void setCommontime(String commontime) {
		this.commontime = commontime;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}
    
}